projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29458ec
)
* src/buffer.c (Fbuffer_swap_text): Swap `mark-active` as well
author
Stefan Monnier
<monnier@iro.umontreal.ca>
Tue, 9 Mar 2021 18:04:14 +0000
(13:04 -0500)
committer
Stefan Monnier
<monnier@iro.umontreal.ca>
Tue, 9 Mar 2021 18:04:14 +0000
(13:04 -0500)
This avoids undesirable situations where `mark-active` is set even
though the `mark` isn't.
src/buffer.c
patch
|
blob
|
history
diff --git
a/src/buffer.c
b/src/buffer.c
index 03c10cc7ae5bab1ae4638bb238705bd88e87d0a7..8e33162989b9631690483d843226ccd221c39981 100644
(file)
--- a/
src/buffer.c
+++ b/
src/buffer.c
@@
-2419,6
+2419,7
@@
results, see Info node `(elisp)Swapping Text'. */)
swapfield (overlay_center, ptrdiff_t);
swapfield_ (undo_list, Lisp_Object);
swapfield_ (mark, Lisp_Object);
+ swapfield_ (mark_active, Lisp_Object); /* Belongs with the `mark'. */
swapfield_ (enable_multibyte_characters, Lisp_Object);
swapfield_ (bidi_display_reordering, Lisp_Object);
swapfield_ (bidi_paragraph_direction, Lisp_Object);